package com.opennews.openplatform

class Journey {
    String id
    AccountGroup accountGroup
    Region region
    Date startDate
    Date endDate
    Collection<JourneyIncomeExpenseDetail> incomeExpenseDetails

    static constraints = {
        accountGroup nullable: false
        region nullable: false
        startDate nullable: false
        endDate nullable: false
    }
}